package com.findfuture.demo.service;

import com.findfuture.demo.model.Catalog;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Alex
 * Date: 12-2-5
 * Time: 下午2:55
 * To change this template use File | Settings | File Templates.
 */
public interface ICatalogService {
    List<Catalog> getCatalogList();
    void addCatalog(String catalogName) throws Exception;
    Catalog getCatalogById(int id);
    void updateCatalog (Catalog catalog) throws Exception;
    void deleteCatalog(int catalogId) throws Exception;
}
